package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.RegionQueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RegionMapper {
    int insert(Region record);

    List<Region> selectMenus(QueryObject qo);

    List<Region> selectRootMenus();

    int updateByPrimaryKey(Region record);

    List<Region> selectAll();

    List<Region> selectByState(Integer state);


    List<Region> listTicket(QueryObject qo);
}